package com.ity.teamanagement.entity.inputParam;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author coderFu
 * @create 2021/11/10
 */
@ApiModel("新增轮播图参数")
@Data
public class AddRotationChartParam {

    @ApiModelProperty("图片路径")
    @NotBlank(message = "图片路径不能为空")
    private String path;

    @ApiModelProperty("顺序")
    private Integer orders;

    @ApiModelProperty("轮播图链接")
    private String link;
}
